serialization problem

18 views
Skip to first unread message

wilmos

unread,
Jun 8, 2015, 8:57:19 AM6/8/15
to xsocke...@googlegroups.com

Hi again !

Having some problems  sending binary data with metadata

clientcode:

 public void SendFile(xTarget xtarget)
        {
            // Send Files
            var blob = File.ReadAllBytes(xtarget.TransFileName);
            this.socketClient.Controller(hostControllerName).Invoke("xsBinaryData", blob, xtarget);
           
        }

in the xtarget object we have some metadata like "xtarget.filename_on_server"
when this string contains some special character like "öüä"
the servercontroller will not invoke !
without it works correct :-)

any idea about this

thanx

Ulf Björklund

unread,
Jun 8, 2015, 9:04:30 AM6/8/15
to xsocke...@googlegroups.com
Hi

- What version of XSockets?
- Can you provide a sample repo so that we can reproduce the issue?
- Do you get any errors?

Regards
Uffe
Reply all
Reply to author
Forward
0 new messages