On 01/27/2011 03:13 PM, Alon Levy wrote:
This is not ipv6 friendly. Two strings would be a better choice.A string for host makes sense, why for port? isn't a 32 bit port enough?
For an protocol, an integer is probably fine. For an API, a string is nice to allow service names too.
Regards, Anthony Liguori
Regards, Anthony Liguori+ uint16_t port; +} VSCMsgReconnect; + +#endif