Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: Liberator on August 22, 2004, 01:59:33 am

Title: A dumb question
Post by: Liberator on August 22, 2004, 01:59:33 am
Is there a way/program to simulate a LAN connection on one computer say between two instances of the same program?
Title: A dumb question
Post by: WMCoolmon on August 22, 2004, 03:35:52 am
If it's using TCP/IP maybe you could use localhost (127.0.0.1) for the server IP?
Title: A dumb question
Post by: Setekh on August 23, 2004, 04:58:10 am
Doesn't seem like a dumb question to me, hardly anyone can answer it. ;)
Title: A dumb question
Post by: aldo_14 on August 23, 2004, 07:07:08 am
Run 'ipconfig' from the (DOS) command line, that'll give you a local IP for your machine.  

Then just bind your communicating programs to different ports (depending on your access/arbitration strategy...i.e. implementation specific).

EDIT: in what language?
Title: A dumb question
Post by: Liberator on August 23, 2004, 01:59:22 pm
Steak, I'll tell you why it's dumb.  Basically, all I want to do is set it up so that my different SP characters in Diablo 2 can exchange equipment they've found that might be useful to one of the others.  Of course, that's probably illegal in D2 so just "fuhgedaboudid!"