Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Biller question

 
Post new topic   Reply to topic Printable version
 View previous topic  Your own squad Post :: Post another biller question  View next topic  
Author Message
pokemon 2001
Novice


Age:39
Gender:Gender:Male
Joined: Nov 21 2004
Posts: 71
Location: New York, Brooklyn
Offline

PostPosted: Tue Nov 16, 2004 10:25 am    Post subject: Biller question Reply to topic Reply with quote

Hi there,

Im writing my own billing server for my asss zone and i was wondering everytime a user connects to the biller should it create a new tcp socket for him? or just use 1 socket?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Nov 16, 2004 10:55 am    Post subject: Reply to topic Reply with quote

1.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
pokemon 2001
Novice


Age:39
Gender:Gender:Male
Joined: Nov 21 2004
Posts: 71
Location: New York, Brooklyn
Offline

PostPosted: Tue Nov 16, 2004 11:00 am    Post subject: Reply to topic Reply with quote

ok than thank u
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
pokemon 2001
Novice


Age:39
Gender:Gender:Male
Joined: Nov 21 2004
Posts: 71
Location: New York, Brooklyn
Offline

PostPosted: Tue Nov 16, 2004 11:01 am    Post subject: Reply to topic Reply with quote

wait.... what if i want other zones to connect to it tooo
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
-Smong-
Guest


Offline

PostPosted: Tue Nov 16, 2004 12:53 pm    Post subject: Reply to topic Reply with quote

Do you mean user as in player or as in server? The players login through the server's connection to the biller so...
Back to top
2dragons
Novice


Joined: Feb 17 2004
Posts: 95
Offline

PostPosted: Mon Dec 27, 2004 1:36 am    Post subject: Reply to topic Reply with quote

When writing a biller that handles the new TCP protocol, or for any case when you are writing an application that uses TCP you should:

Have a socket listening on a port for new connections. Every new connection will have its own socket to listen/send from.

Code: Show/Hide
MAIN PORT (Listen for new connections)
   /             |                       \
SERVER1  SERVER2            SERVER3
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Mon Dec 27, 2004 2:04 am    Post subject: Reply to topic Reply with quote

Which language are you writing it in and for which OS?
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 16 page(s) served in previous 5 minutes.

phpBB Created this page in 0.516134 seconds : 31 queries executed (94.5%): GZIP compression disabled