Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

portbind.c File Reference


Detailed Description

Bind a socket to an UDP/TCP port and return the port number.

For internal use only.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>
Date:
Created: Thu Mar 25 12:12:25 2004 ppessi

Definition in file portbind.c.

#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <unistd.h>
#include "sofia-sip/su.h"

Go to the source code of this file.

Defines

#define IPPROTO_SCTP   (132)

Functions

int main (int argc, char *argv[])
void usage (int returncode)

Variables

static char const helptext []
char const name [] = "portbind"


Generated by  Doxygen 1.6.0   Back to index