Skip to content

enum SF::Socket::Status #

Status codes that may be returned by socket functions

Members#

Done = 0 #

The socket has sent / received the data

NotReady = 1 #

The socket is not ready to send / receive data yet

Partial = 2 #

The socket sent a part of the data

Disconnected = 3 #

The TCP socket has been disconnected

Error = 4 #

An unexpected error happened

Methods#

#disconnected? #

View source

#done? #

View source

#error? #

View source

#not_ready? #

View source

#partial? #

View source