Link to home
Start Free TrialLog in
Avatar of willmrk
willmrk

asked on

Smalltalkers: need help with network application...

I am attempting to develop a card game appliction (in SmallTalk) in which 4 players (who will reside on 4 seperate computers) play together. My starting questions are...

The plan is to have a server running which the four player computers will use to communicate the game plays. Is this considered a "webserver"? I have looked into using komhttpserver (a smalltalk commanche server), but not sure if this is the thing I should be using. Or should I write my own "server" appliction that just routes the plays from one of the connections to the other three connections? (I plan on keeping the plays as some type of simple text based protocol. i.e. "PLAYER1:4CLUBS>>DISCARDPILE" would mean player1 discarded the 4 of clubs)

I have been able to establish a TCP socket between two applictions, but the server will have to maintain a connection with up to 4 computers. Do I just specifiy different ports? (for my single connection I used port 8080, and the whole ports thing is confusing me. What ports are valid?)

Any help will be really really appreciated. My networking skills are minimal.

Thanks,
willmrk
ASKER CERTIFIED SOLUTION
Avatar of itsmeandnobodyelse
itsmeandnobodyelse
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
willmrk,

why didn't you give any feedback if you are not satisfied with the answer? A C grade is only appropriate if you have cooperated but got no valid answers.

>>>> Any help will be really really appreciated.

Seems to be a lie..
Avatar of willmrk
willmrk

ASKER

Sorry, but there is no Smalltalk group in EE so that is why I posted the question here. The C++ example wasnt much assistance.

>>>>>... and am assuming the server should be written in C++

My question was clearly for assistance witth SmallTalk (not C++).

I'm sorry that you feel ripped.
>>>> I'm sorry that you feel ripped.

If you had told that you need assistance in SmallTalk only, I would have given the advice to get points refund by CS. That is less frustrating than getting a C grade...