cannot respond to clients from my server thread . hey this is abhiexx...( i am registered....but i don't have my password right now!!:-().So don't flame me..
hey i was working on the server thread...for my gnutella client...i 've got bearshare running too...so when i establish an outgoing connection from bearshare to my server....after the GNUTELLA OK...part...i get a ping from bearshare..and some extra bytes...total length is 134.
the problem is that when i try to respond to the client socket(which is returned from the accept() call) ....i am able to send the pong....but Bearshare does not show that it has recieved any bytes from me.(i have tried the same thing from a client thread....and this time the packets...show up ....so there is no problem with the writing of packets from my side )...
after a while....the outgoing connection from bearshare is dropped saying...this host is not responding.HELL i am responding !!!!!!!
so what do i do .. i have tried everything...wouldn't work any suggestion would be cool ... |