sf.TcpListener – sfml Reference Manual
Packages
sfml
sf
TcpListener
TcpListener
accept
getLocalPort
isBlocking
listen
setBlocking
TcpListener
Object Hierarchy:
Description:
[
CCode
( cname =
"sfTcpListener"
, cprefix =
"sfTcpListener_"
, free_function =
"sfTcpListener_destroy"
) ]
[
Compact
]
public
class
TcpListener
Namespace:
sf
Package:
sfml
Content:
Creation methods:
public
TcpListener
()
Methods:
public
SocketStatus
accept
(
out
TcpSocket
[] connected)
public
ushort
getLocalPort
()
public
bool
isBlocking
()
public
SocketStatus
listen
(
ushort
port,
IpAddress
address)
public
void
setBlocking
(
bool
blocking)