Hi,
Any example on how I can build cgo code using custom toolchain?
Thanks,
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hi,
I am experiencing an issue in *Conn.Write() which is not detecting that the
connection was closed in the server.
Below you can find demo SSL server and client which hosted on same go
project.
The problem is that the following line doesn't detect closed
socket/connection:
solved it:
//export Eb_TcpSecureStreamCreateListener
func Eb_TcpSecureStreamCreateListener(listenIp string, listenPort int)
unsafe.Pointer, retStatus {
pmap := {
}
server := Server{
}
server.listener = secConn.NewListener(server.listenAddress,
Hi,
I have to projects. One is cgo and one is C application.
The cgo has a function which needs to return pointer to struct.
The C app receives this pointer and then calls other function in cgo with
this pointer.
I build the cgo as shared lib:
*go build -o ebsdk.so -buildmode=c-shared*
The