a TCP connection
> and so the SetKeepAlive method becomes available. This will panic if the
> conn variable does not actually contain a *net.TCPConn.
>
> On Tue, Jul 26, 2016 at 12:09 AM <dja...@gmail.com > wrote:
>
>> tryconn.(*TCPConn <https://g
when I use the conn.SetKeepAlive i get this error: reference to undefined
field or method ‘SetKeepAlive’
https://golang.org/pkg/net/#TCPConn.SetKeepAlive
why?
but If I use conn.SetReadDeadline it works ok
https://golang.org/pkg/net/#IPConn.SetReadDeadline
--
You received this message
ence in the data that you receive?
>
> On Monday, 18 July 2016 05:42:36 UTC+3, EdgarAlejandro Vintimilla wrote:
>>
>> now I have this, but still not the correct results
>>
>> package main
>>
>> import (
>> "fmt"
>> "
+= fmt.Sprintf("%x ", buf[i])
}
// Send a response back to person contacting us.
conn.Write([]byte( "ok" ))
fmt.Println("cadena: ", cadena, reflect.TypeOf(cadena) )
fmt.Println( "\n" )
// Close the connection when you're done with it.
conn.Close()
thanks
On Saturday, July 16, 2016 at 2:42:23 PM UTC-5, Michael Jones wrote:
>
> Lots of ways...
> https://play.golang.org/p/D54ZRdLX_A
>
> On Sat, Jul 16, 2016 at 8:14 PM, EdgarAlejandro Vintimilla <
> eav...@gmail.com > wrote:
>
>> I want to convert ascii
Thanks, basically is a GPS that sends data to the server. It's for a fit
traker.
What is the best way to put into producción this server?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails
you're right, thanks
I still have to improve this code and keep learning GO
On Sunday, July 10, 2016 at 11:38:33 PM UTC-5, kortschak wrote:
>
> It's worth returning the error from strconv.ParseUint in the general
> case.
>
> On Sun, 2016-07-10 at 21:02 -0700, eav...@gmail.com wrote:
> >