In a client server program ... generally when the server goes down the client on executing the send command 2 times returns a SIGPIPE signal . I want to know y this happens. The client must recieve sigpipe immediately when it sends a message after the socket connection is broken . I have tried many versions of client server programs , when i close the server down , client after it sends 2 messages only is it able to receive a sigpipe signal, shouldn't it be like the cleint receives sigpipe immediately after it sends any msg ??
srinivas88
0
Light Poster
Recommended Answers
Jump to PostThe nice thing about TCP is that it manages so much for you under the hood. The problem with TCP is that it manages so much for you under the hood. There is the possibility, due to the send window, that you can have data sent by the client and …
Jump to PostDepending on your situation, you may not be able to.
All 5 Replies
srinivas88
0
Light Poster
L7Sqr
227
Practically a Master Poster
srinivas88
0
Light Poster
L7Sqr
227
Practically a Master Poster
srinivas88
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.