hello , i have a socket code writed with python ...
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
import socket
Sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
Host = '192.168.42.1'
Port = 5000
Sock.bind((Host,Port))
Sock.listen(1)
client, adresse = Sock.accept()
print "L'adresse",adresse,"vient de se connecter au serveur !"
while 1:
RequeteDuClient = client.recv(255)
if not RequeteDuClient:
break
print RequeteDuClient,"\a"
------------------------------------------------------------------------------------------------------------------------------------------------------
this code work with python server.py .
but i want to make it work automatically in boot of the card ...