Working with TCP/IP

Cogent API and Utilities: Version 4.1
Prev | Chapter 3. Interprocess Communication | Next

# 3.12. Working with TCP/IP

This library provides some simple functions for implementing TCP/IP servers and clients. These functions are primarily provided to simplify the interface with the `IP_Receive` function. These functions always create an Internet Domain socket, and always assume a TCP connection as opposed to UDP or ICMP.

- `IP_ListenToPort` - is a wrapper for `listen`.

- `IP_ListenToService` - like `IP_ListenToPort`, but uses the service name.

- `IP_ConnectToPort` - resolves a host name and connects to a port.

- `IP_ConnectToService` - like `IP_ConnectToPort`, but uses the service name.

Prev | Home | Next
Task Structures | Up | The Cascade NameServer

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.