best way for a client/server program
-
hi, currently working on an internet cafe software which will be in client/server structure.Client and server will communicate in both ways(customers give orders from clients and server controls computers) and I am planning to use TCP sockets. So am I on the right direction? or what would be the best way? thanks in advance a fast and stable connection type and your valuable comments would be nice
There is various way to do this... whatever I think for data transportation you should try web service...
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
-
There is various way to do this... whatever I think for data transportation you should try web service...
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
to make it clear, my program will be used in one place.All clients and the server will be side by side. so why web service?
-
hi, currently working on an internet cafe software which will be in client/server structure.Client and server will communicate in both ways(customers give orders from clients and server controls computers) and I am planning to use TCP sockets. So am I on the right direction? or what would be the best way? thanks in advance a fast and stable connection type and your valuable comments would be nice
-
Could you please clarify... Why you are saying TCP is usually fine?
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
-
thanks
-
Could you please clarify... Why you are saying TCP is usually fine?
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
-
to make it clear, my program will be used in one place.All clients and the server will be side by side. so why web service?
Well...TCP/IP socket is good for small transaction.... My point of view was the data transport mechanism.. you know HTTP over TCP/IP allow you to transfer data as xml format...which is much more reliable,secured.
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
-
Well...TCP/IP socket is good for small transaction.... My point of view was the data transport mechanism.. you know HTTP over TCP/IP allow you to transfer data as xml format...which is much more reliable,secured.
Thanks Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
Md. Marufuzzaman wrote:
My point of view was the data transport mechanism
to get the best reply I think I have to be more specific. Things that I am planning to handle with the server part of the program are: (program will be used in LAN with 27 computers) - switch on/of client computers - open/close customer accounts(keep records of passed/elapsed times and charges them to account - always live connection to see if the client is connected or not - sending small files to clients (I don't care about security at all)
modified on Saturday, October 10, 2009 4:00 PM
-
Md. Marufuzzaman wrote:
My point of view was the data transport mechanism
to get the best reply I think I have to be more specific. Things that I am planning to handle with the server part of the program are: (program will be used in LAN with 27 computers) - switch on/of client computers - open/close customer accounts(keep records of passed/elapsed times and charges them to account - always live connection to see if the client is connected or not - sending small files to clients (I don't care about security at all)
modified on Saturday, October 10, 2009 4:00 PM
here you go An Asynchronous Socket Server and Client[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
----------------------------------------------- 128 bit encrypted signature, crack if you can
-
Well how often do you use UDP? And other protocols (like DCCP, SCTP, RSVP and ECN) are extremely rare