Category: ESock Client

Panic of the ESock client due to Sockets Server error. This category used to be called the eSock panic.

See the TESockPanic enumeration. The errors are numbered from zero.

0

An invalid RSubSession handle was used. For example a RSocket call before the socket was Opened.

2

RSocket::Connect() used before a previous connect request on the same socket has completed. Wait for the first to complete or CancelConnect() it.

3

RSocket::Read(), Recv(), RecvFrom(), or RecvOneOrMore() used before a previous read request 054 on the same socket has completed. Wait for the first to complete or CancelRead() or CancelRecv() it.

4

RSocket::Send(), SendTo(), or Write() used before a previous write request on the same socket 059 has completed. Wait for the first to complete or CancelWrite() or CancelSend() it.

6

RSocket::Shutdown() used before a previous shutdown request on the same socket has completed. Wait for the first to complete. This applies also when the shutdown type differs.

For example, Shutdown(EStopInput) must complete before Shutdown(EStopOutput) can be issued.

7

The socket passed to RSocket::Accept() must be a blank socket opened by the argumentless RSocket::Open() overload. A socket opened with a protocol or already Accepted is not blank.

8

RSocket::Ioctl() used before a previous IOCtl request on the same socket has completed. Wait for the first to complete or CancelIoctl() it.

9

RSocket::SendTo() used with a socket of a protocol that is connection-oriented (such as TCP/IP).

10

RSocket::Listen() used with a socket of a protocol that is not connection-oriented (such as UDP/IP).

11

RSocket::Listen() used on a socket which is already Listening

12

RSocket::Accept() used on a socket which has not had Listen() called.

13

RSocket::Accept() used with a socket which proves invalid when the passive-open completes.

For example, the blank socket passed to Accept() was closed before a connection to the listening server socket was made. CancelAccept() must be used before closing the blank socket.

14

A descriptor argument was corrupt when used by the socket server.

15

A request was made of a RHostResolver, RServiceResolver, or RNetDatabase when it was still processing a previous request. This would be with an explicitly asynchronous request and you must either cancel it or wait for it to complete.

17

An improper request was made of a blank socket.

19

RHostResolver::Next() was called without a preceding resolution request such as RHostResolver::GetByName().

20

Attempted to Connect() on an RSocket in a programmatically invalid state, such as having been used for a pending Accept().

21

RHostResolver::QueryGetNext() was called without a preceding RHostResolver::Query().

23

RSocket::Open() or RHostResolver::Open() used with a RConnection or RSubConnection opened upon a different RSocketServ to that supplied to the current Open().

24

RConnection::Open(RSocketServ&, TName&) used with an invalid TName.

25

An extension interface has issued a bad request.

26

The descriptor passed by the client could not be read from by the server.

27

The descriptor passed by the client could not be written to by the server.

28

The descriptor passed by the client had an invalid length when read by the server.

29

Open on an already opened socket.