Re: [fpc-pascal] SocketError 183

2012-12-23 Thread Ewald
Once upon a time, on 12/23/2012 02:36 PM to be precise, MegaBrutal said: > Hi all, > > For some reason, when I read socketerror after calling fpRecv just > after I established a connection, I get 183, or (on a very rare > occasion) 10061. I couldn't find what 183 is supposed to mean, but > 10061 is

Re: [fpc-pascal] SocketError 183

2012-12-23 Thread Marco van de Voort
In our previous episode, MegaBrutal said: > > fpRecv works correctly if I read after I written something first. > > I suspect 2 possible causes: > - Is socketerror reset to 0 after a successful socket operation? Actually, > I call fpRecv and then try to verify if it was successful by examining >

[fpc-pascal] SocketError 183

2012-12-23 Thread MegaBrutal
Hi all, For some reason, when I read socketerror after calling fpRecv just after I established a connection, I get 183, or (on a very rare occasion) 10061. I couldn't find what 183 is supposed to mean, but 10061 is "connection refused", which is strange because it's not applicable to the situation