Hi to all my oversea new friend in Linux community.

I have faced the problem for nearly 2 weeks without way out. That is to create the remote control system between 2 Unix PC. One will contiously send frame, and the rest will continously recieve frame and detect frame and arcording to the frame data, this PC will call the corresponding subroutine to perform a specific task say for example to automatically play Movie 1 with Media Player or automatically open the CD Drive...etc...

I have succefully perform the above task by using Socket API. But my problem now is that i have to use the Raw API and send the frame directly to the specific Mac address (at lower layer and not through any binded socket). Can anyone help me by providing me a sample code or suggest me which header functions i have to use to solve this task. Thank you in advance.

Your sincerely.