LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   ERROR reading from socket: Bad address (http://www.linuxquestions.org/questions/programming-9/error-reading-from-socket-bad-address-416796/)

cynthia_thomas 02-18-2006 06:43 AM

ERROR reading from socket: Bad address
 
hi,

This is the error that i got when running a client server program

Server side:

ERROR reading from socket: Bad address

Client side:

[root@CORE-2-02 examples]# ./a.out CORE-2-02 2007

Number of packets in the buffer : 1
Number of packets in the buffer : 2
Number of packets in the buffer : 3
Number of packets in the buffer : 4
ERROR reading from socket: Connection reset by peer
Number of packets in the buffer : 5

please help me.


Thanks and regards
cynthia

dmail 02-18-2006 07:02 AM

More info would be nice ;(
Is this tcp? if so the error "Connection reset by peer" would indicate the stream has been closed. Without more info this is all I can really say. What sort of response did you expect with this post?

RRR what you need to do is.....

This post is like saying "I was walking down the road the other day and someone shouted to me, what did they want?" lol


All times are GMT -5. The time now is 08:56 AM.