🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16482

Socket Newbie

#16482
From: Mark Zamoyta
Date: Sun, 14 Feb 1999 00:00
10 lines
807 bytes
Hi,

I want to test a client and a server program at the same time on my own
computer.

The socket class constructor accepts a hostname and portnumber - what do I
set these to?  All the examples I've seen connect to external servers.

Thanks,
Mark
Technical Details
Message-ID: <7a798j$f2l$1@oak.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e482f07605dfccc0,start
X-Google-Attributes: gidf74b3,public
From: "Mark Zamoyta" <markcaz@earthlink.net>
Subject: Socket Newbie
Date: 1999/02/14
Message-ID: <7a798j$f2l$1@oak.prod.itd.earthlink.net>
X-Deja-AN: 444355658
X-Posted-Path-Was: not-for-mail
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-ELN-Date: 14 Feb 1999 19:47:31 GMT
X-ELN-Insert-Date: Sun Feb 14 11:55:46 1999
Organization: Lake Clear Software
Newsgroups: borland.public.jbuilder.java.language