use MSG_NOSIGNAL flag to send() to prevent SIGPIPE signal

fixed all network problems
This commit is contained in:
niels
2011-09-09 22:39:01 +02:00
parent 27d76d713b
commit 3751c864a8
3 changed files with 13 additions and 17 deletions

View File

@@ -87,9 +87,6 @@ void *reader_thread(void *data)
threaded_t *t = tag->priv;
int ret = 0;
char buf[16];
#ifdef STRICT_CHECKING
assert( v != NULL );
#endif
snprintf(buf,sizeof(buf)-1, "%03d:;", VIMS_GET_FRAME);