Home »
Public Forums »
archive »
Re: Communication problem with sockets
Re: Communication problem with sockets [message #8867] |
Sat, 03 May 1997 00:00 |
alpha
Messages: 49 Registered: September 1996
|
Member |
|
|
Dimitris Papamichail <dimitris@nemesis.lpl.arizona.edu> writes:
> Hello,
> My problem is this: An amount of data is lost
> at random points. Although the server sends the data
> to the interface, they never reach the interface, because
> the read to the socket is interrupted. The error number I
> get is ERRNO 4: INTERRUPTED SYSTEM CALL. This happens in
> the interface (library) side. In the server's side, it
> appears like the write is done correctly. But after that,
> the connection is reset by the peer (interface).
> Any help would be appreciated. If you think something irrelevant
> is causing this problem to happen, just tell me an opinion,
> as I have only a one and a half month experience of programming
> in IDL. Thanks.
I had exactly the same problems via sockets and FDDI...
the ERRNO is normal and you only have to retry an receive of an
packet after you got an -1. I try it 19 times and then i tell IDL
a TIMEOUT on receive.
THe next thing is that you have to tell the SERVING process to resend
the failed package!!!
hope it helps...
and: take a look in the archive of osf-managers (my question is archived
there)
Panther
> Dimitris
--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
|
|
|
Current Time: Wed Oct 08 19:44:15 PDT 2025
Total time taken to generate the page: 0.00530 seconds