]> hackdaworld.org Git - my-code/ivac.git/blobdiff - dgramrcv.c
buflen = 1024 bytes + added total and kb/s output for stream
[my-code/ivac.git] / dgramrcv.c
index d8ec19ee5bb0a6702294c3ae16a7140f8d4771d0..d235b660f590ea1e602f23bd4efc32854666d393 100644 (file)
@@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
   int receive_bytes, write_bytes;
   socklen_t target_addr_len;
 
-  if(argc!=3) {
+  if(argc!=2) {
     printf("usage: %s <port>\n",argv[0]);
     exit(1);
   }