Saturday, April 3, 2010

iOrder communication

Group 4 has made some progress in our application. We were able to add the server client code to the application. I created a small wrapper for the c sockets that allows creating and using sockets without having to know much about them. Creating a server is as easy as saying createServer( port ) and for the client createClient ( ip, port ). Communication is done via the methods send ( string ) and recieve ( string ).

I did run into some trouble making the server application multi-threaded. Parameters can't be passed directly to the methods in C. I had to use a struct to pass the parameters around... if we run into problems later, i think switching the server over to java would be the best choice.

I have been uploading my source changes into mercurial. I don't like the interface very much (command line). It would have been nice to have the built in support that xcode has for subversion.

1 comment:

9pskl0915n said...

South Korea has been one of those of|a kind of} countries where gamblers have not had a straightforward ride. For occasion, no gambling home was allowed to function in the country until 1967, when the federal government legalized on line casino gambling to boost tourism. BANGKOK, Thailand – An INTERPOL-coordinated operation concentrating on illegal online gambling and monetary 로스트아크 fraud in Asia led to the arrest of some 48 people and the seizure of computer systems and different digital proof.