Skip to content

Instantly share code, notes, and snippets.

@crayment
Created November 18, 2010 06:10
Show Gist options
  • Save crayment/704684 to your computer and use it in GitHub Desktop.
Save crayment/704684 to your computer and use it in GitHub Desktop.
SocketIOClient *socket = [SocketIOClient socketIOClientWithHost:@"www.marcelball.ca" port:8000 delegate:self];
NSDictionary *message = [NSDictionary
dictionaryWithObjects:
[NSArray arrayWithObjects:
@"handshake",
@"student@test.com",
@"a",
@"false", nil]
forKeys:[NSArray arrayWithObjects:
@"action",
@"email",
@"password",
@"in_queue", nil]
];
[socket sendMessage:message];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment