Watt-32 tcp/ip  2.2 dev-rel.10
oldstuff.c File Reference

Go to the source code of this file.


int tcp_cbrk (int mode)
unsigned long set_ttimeout (unsigned ticks)
void W32_CALL psocket (const sock_type *s)
void W32_CALL sock_sturdy (sock_type *s, int level)
 Keep the socket open inspite of receiving "ICMP Unreachable" For UDP or TCP socket.
int W32_CALL resolve_ip (DWORD ip, char *name, int len)
 Resolve an IP-address to a name.
time_t dostounix (struct date *d, struct time *t)
void unixtodos (time_t time, struct date *d, struct time *t)
WORD inchksum (const void *ptr, int len)
WORD _w32_inchksum (const void *ptr, int len)
DWORD intel (DWORD val)
WORD intel16 (WORD val)
int main (void)

Detailed Description

Some old functions are collected here.

Definition in file oldstuff.c.

Function Documentation

unsigned long set_ttimeout ( unsigned  ticks)
Not needed in Watt-32. Return timeout from ticks.

Definition at line 34 of file oldstuff.c.

References has_8254, and set_timeout().

int tcp_cbrk ( int  mode)
Actually simply a macro in <tcp.h>

Definition at line 25 of file oldstuff.c.

References tcp_cbreak().