Re-connect fails

Re-connect fails

Post by MornĂ© Hartma » Thu, 25 Nov 1999 04:00:00



Hi all,

I have a client application that is trying to connect to a server. The
server is not listening at present. The connect() call fails and after
a short period of time the client attempts to re-connect. The
procedure should be repeated until a connection with the server is
establish. However after a couple of attempts, the socket() call fails
and no further attempts to re-connect can be executed.

How can I overcome this problem?

Morn Hartman

 
 
 

1. network failed after pppoe re-connect

Hi,

I have a linux box connected to internet with ADSL. My ISP will drop the
connection for every two days. The problem after the re-connection, all
outbound traffic timeout.
I'm using RH8.0 and iptables, and I just have remote access to the Linux
box. Does anyone know what's the problem with it?

Nov 15 11:04:13 szmt /etc/hotplug/net.agent: NET unregister event not
supported
Nov 15 11:04:13 szmt adsl-connect: ADSL connection lost; attempting
re-connection.
Nov 15 11:04:18 szmt pppd[16701]: pppd 2.4.1 started by root, uid 0
Nov 15 11:04:18 szmt pppd[16701]: Using interface ppp0
Nov 15 11:04:18 szmt pppd[16701]: Connect: ppp0 <--> /dev/pts/0
Nov 15 11:04:18 szmt /etc/hotplug/net.agent: assuming ppp0 is already up
Nov 15 11:04:18 szmt pppoe[16702]: PPP session is 2622
Nov 15 11:04:19 szmt pppd[16701]: local  IP address xxx.xx.59.110
Nov 15 11:04:19 szmt pppd[16701]: remote IP address xxx.xx.59.1

Regards,

Martin Chan

2. Java on Red Hat 4.2

3. How to re-connect the slackware linux to internet?

4. popper

5. SLIP auto re-connect script?

6. Modem Motorola

7. Newbie-Q: how to re-connect from a lost terminal session?

8. Wharf

9. Q: How to re-connect to SCSI tape drive without re-booting after Legato process hangs?

10. ppp routing problem on re-connect

11. How can I re-connect the orphan background process to my current tty?

12. Q: How to detect and re-connect SCSI devices in Sun Solaris 2.x?