Python: Direct socket connection

I need a away for two computers to communicate with eachother

Page 1 of 1

3 Replies - 3359 Views - Last Post: 19 September 2006 - 07:36 AM Rate Topic: -----

#1 N-ico  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 10
  • Joined: 16-November 05

Python: Direct socket connection

Posted 19 September 2006 - 04:28 AM

Hi,

I need a way for two computers to communicate with each other by a sockets stream..

I've tried this were one of the computers were server and the other was the client, but i couln't connect through IP.

It turned out that i asked a friend who is programming other languages than Python, and he said that i should now worry about servers, but make direct connections..

How the hell do i do that? O_o

Is This A Good Question/Topic? 0
  • +

Replies To: Python: Direct socket connection

#2 N-ico  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 10
  • Joined: 16-November 05

Re: Python: Direct socket connection

Posted 19 September 2006 - 04:47 AM

I was thinking about something that both computers has a server - and a klient window open.. But then still, i couln't connect through the IP..
Was This Post Helpful? 0
  • +
  • -

#3 Nova Dragoon  Icon User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 36
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Re: Python: Direct socket connection

Posted 19 September 2006 - 07:22 AM

what packages are you using for your socket connections?, I've used socket for the client, and SocketServer for the server and have had pretty good luck
Was This Post Helpful? 0
  • +
  • -

#4 N-ico  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 10
  • Joined: 16-November 05

Re: Python: Direct socket connection

Posted 19 September 2006 - 07:36 AM

I used "socket" for both serving and clienting..

But still i got problems with IP connections.. Although it worked on my own computer with server and client..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1