Learn SuperSocket and SuperSocket.ClientEngine
- extend EasyClient
- Client Command
- change transmit string to json (Command RequestAdd, ResponseAdd)
- sync RequestAdd method
- hide the supersocket client in our own client class. ("has a" supersocket client)
- i want client in .net 3.5
- very basic WebSocket testing
- Server: extend JsonWebSocketSession, override JsonSerialize, JsonDeserialize to use Json.Net
- Client: extend JsonWebSocket, override SerializeObject, DeserializeObject to use Json.Net
-
Implement custom FixedHeader protocol on both server and client
-
FixedHeader 8 bytes into 4 uint16
-
1st value = ? (unknow usage. it is reserve engineering from a c++ code.)
-
2nd value = message length (including header and body)
-
3rd value = mainKey
-
4th value = subKey