I\'ve 开发者_开发问答got a TCP socket which reads data. When an error occurs when reading the data, I return an undef (NULL) value. Errors can be caused by badly formatted messages or broken sockets.
I have a list of server IP addresses, I need to check if each one is online and how long the latency is.
How efficient is it to use sockets when doing IPC as compared to named pipes and other methods on Windows and Linux?
I have a TCP Server application that serves each client in a new thread using POSIX Threads and C++.
I want to use I/O Completion ports for Windows and Asynchronous I/O (AIO) for solaris and Linux versions of my server application. The application server is multithreaded and it can a开发者_Go百科ccep
Everything that I read about sockets in .NET says that the asynchronous pattern gives better performance (especially with the new SocketAsyncEventArgs which saves on the allocation).
As per my understanding a simple TCP server will be coded as follows. socket() - bind() - listen() - accept() - read() - write()
i am using raw sockets to create my own socket. i need to set the tcp_checksum. i have tried a lot of references but all are not working (i am using wireshark for testing).
I need to come up with clients that can multicast to other clien开发者_如何学Gots reliably. That implies I\'ll be using TCP to connect reliably between clients within a multicast group. Doesn\'t that
greetings, i am writng a socket program using sockets in c# (asynchronous). the issue is, when a client connects to the server it kinda happens quiet fast. then..