Skip to content

Files

Latest commit

 

History

History

06-MAC Address-TCP

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Socket Programming in C

A simple TCP Server-Client program that gets the MAC address and IP address of the client connected.

Implementation

Compile

Server : gcc serverMAC_TCP.c -o ser
Client : gcc clientMAC_TCP.c -o cli

Run

Server : ./ser
Client : ./cli