GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBOWFAT_SOCKET_TCP4 (3)

NAME

socket_tcp4 - create a non-blocking TCP/IP stream socket

CONTENTS

Syntax
Description
Example

SYNTAX

#include <socket.h>

int socket_tcp4();

DESCRIPTION

socket_tcp4 creates a non-blocking TCP/IP stream socket and returns a file descriptor pointing to that socket. If something goes wrong, socket_tcp4 returns -1, setting errno appropriately, without allocating any resources.

EXAMPLE

#include <socket.h>

int s;
char ip[4];
uint16 p;

s = socket_tcp4();
socket_bind4(s,ip,p);
socket_connect4(s,ip,p);

SEE ALSO

socket_tcp4b(3), socket_bind4(3), socket_bind6(3)
Search for    or go to Top of page |  Section 3 |  Main Index


SOCKET_TCP4 (3) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.