Which socket library should I use for a simple chat program?

Hi! I want to program a chat application. The server should be written in Go and the Client in C# (WPF). But my questions are:

  1. Which sockets should I use? I heard from websockets and unix-socket^^
  2. Which library/package should I use? I know the Websocket library from gorilla, Socket-io and the buildin net package.
  3. Should the C#-Programmer choose async programming or sync?
    Best regards,
    Lockna
2 Likes
  1. Use WebSockets
  2. Yes, Gorilla is a a pretty good library to use. You would need a nu-get package in WPF c#
    (WebSocketSharp)
  3. Async to make tour client app more responsive to another events

Just my two cents

2 Likes

Thank you! Then I’ll use these

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.