PureBasic - Network
Overview
Networks are widely spread all over the world and allow computers to communicate easily. PureBasic supports the official Internet protocol to exchange data: TCP/IP. This allows us to write applications or games using the well-known 'client-server' model. With these commands, it's possible to create any kind of Internet-related application (browser, web server, ftp client...) or fast multiplayer games.
Command Index
CloseNetworkConnection
CloseNetworkServer
ConnectionID
CreateNetworkServer
EventClient
EventServer
ExamineIPAddresses
GetClientIP
GetClientPort
HostName
IPAddressField
IPString
InitNetwork
MakeIPAddress
NetworkClientEvent
NetworkServerEvent
NextIPAddress
OpenNetworkConnection
ReceiveNetworkData
ReceiveNetworkFile
SendNetworkData
SendNetworkFile
SendNetworkString
Example
NetworkClient.pb
NetworkServer.pb
Supported OS
All