Re: Sockets in C unter Unix

Philipp Thomas <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization SUSE LINUX Products GmbH
Message-ID <[email protected]>
* Dierk Fröhling ([email protected]) [20050118 15:42]:

> Das muß heißen:
> bcopy(hp->h_addr, &server.sin_addr, hp->h_length);

Und wenn man's wirklich gut machen will, ersetzt man das nicht
standardgemässe bcopy durch memcpy :)

Philipp

-- 
Philipp Thomas
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuremberg, Germany

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.