Jump to content
OMRON Forums

WSAETIMEDOUT popup


Gilles

Recommended Posts

Hi

 

I use Pcomm32 with Ethernet to communicate with a geobrick.

 

Sometimes I get a WSAETIMEOUT error popup windows :

see attached file.

 

I think I have some dropped packets, but this is not a problem. My application is not a GUI and run on a computer with no screen, keyboard and mouse, so nobody can valide this popup message and my application is blocked.

 

Can I configure Pcomm32 to remove this popup window when a dropped packet occurs ?

 

Thanks

 

Gilles

1122088789_CaptureWSAETIMEDOUT.JPG.a0168242d9b989dcc7dd01a8a2e2f7f7.JPG

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Gilles,

 

The socket timeout message pops up if the communication is lost and is not re-configurable unless we recompile Pcomm32.

 

What needs to be investigated is why the communication is lost in the first place. Farooq

 

Hi

 

I use Pcomm32 with Ethernet to communicate with a geobrick.

 

Sometimes I get a WSAETIMEOUT error popup windows :

see attached file.

 

I think I have some dropped packets, but this is not a problem. My application is not a GUI and run on a computer with no screen, keyboard and mouse, so nobody can valide this popup message and my application is blocked.

 

Can I configure Pcomm32 to remove this popup window when a dropped packet occurs ?

 

Thanks

 

Gilles

Link to comment
Share on other sites

Farooq,

 

Thanks for you quick reply.

 

Currently this window appears randomly. The connection may last one or two days before this window appears. Have you ever tested the connection over such long periods?

 

I need to find a method to diagnose the connection loss.

Best regards

 

Gilles

Link to comment
Share on other sites

Farooq,

 

Can you give me the timeout value used in Pcomm32 ?

 

Thanks

 

Gilles

 

Gilles,

 

There are several timeout values for socket timeouts.

#define FLUSH_SOCKTO 250

#define SENDLINE_SOCKTO 500

#define GETBUFFER_SOCKTO 2000

//(This is a 2 second wait time while receiving data from PMAC before you get an error message)

#define GETSETMEM_SOCKTO 500

#define SENDCHAR_SOCKTO 250

#define INPORT_SOCKTO 500

#define FLUSH_TIMEOUT 10

 

Can you also tell me what version of Pcomm32 library ( Pro or Pro2) are you using?

 

Farooq

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...