Unix Programming - Raw sockets

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > July 2005 > Raw sockets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Raw sockets
Chua

2005-07-27, 7:51 am

Querr=EDa crear un cliente y un servidor que se mandaran mensajes
mediante sockets en modo raw para aprender sobre el tema.
He estado buscando en internet en muchos sitios, pero no he podido
averiguar claramente lo que busco.
Si alguien me puede pegar un c=F3digo de ejemplo o explicarme los pasos
fundamentales, lo agradecer=EDa.

Un saludo.

Rainer Temme

2005-07-27, 7:51 am

Chua wrote:
> ... something in spanish??? portugese??? ...


Hi Chua,

you will (quite likely) get more response if
decide to write your questions in english.

As far as I understand your question, you're asking:
"Do raw-sockets really exist?"
.... Answer in this case:
"yes, they do!"
;-)

Regards ... Rainer
Pascal Bourguignon

2005-07-27, 7:51 am

"Chua" <chua@ono.com> writes:

> Querría crear un cliente y un servidor que se mandaran mensajes
> mediante sockets en modo raw para aprender sobre el tema.
> He estado buscando en internet en muchos sitios, pero no he podido
> averiguar claramente lo que busco.
> Si alguien me puede pegar un código de ejemplo o explicarme los pasos
> fundamentales, lo agradecería.


Lee las páginas del manual sobre socket, y siguiendo los "SEE ALSO".

man 7 socket

man 2 socket
man 2 bind
man 2 listen
man 2 accept
man 2 read
man 2 write
man 2 sendto
man 2 recvfrom

etc.


Código hay toneladas en las fuentes de tu sistema unix preferido (sea
*BSD (incluido Darwin si tienes MacOSX) o Linux).

--
__Pascal Bourguignon__ http://www.informatimago.com/

In a World without Walls and Fences,
who needs Windows and Gates?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com