How to send raw data thorugh network?

Do You have any example in c/c++ that shows
how to send raw data thorugh network card interface?
/under QNX 6.3;