natefinch / npipe

A Windows named pipe implementation written in pure Go.
MIT License
297 stars 73 forks source link

Communication to server by sending structure #29

Open Santanu234 opened 2 years ago

Santanu234 commented 2 years ago

Hi,

My requirement is to connect to server. Send the some data in structure. Server will update the signature and send back to client(i am client) as structure. Server is in c++ and they used piped for connection.

if _, err := fmt.Fprintln(conn, dat); err != nil { //error } by using this i can send the structure value or map.

But how can I receive the value in structure from server? Please guide.