Skip to content

From real device cannot able to send bytes #213

Open

Description

@muga87

Hi, i need to send array of bytes to server. I have tried from simulator I can able to send and getting response.
to establish connection cam using
client = TCPClient(address: myhost, port: myport) (in viewDidLoad)
Same thing when I tried to send from iPhone device, connection is success but can not able to send bytes. I am getting following error.

Error in data sent : "The operation couldn’t be completed. (SwiftSocket.SocketError error 3.)"

am I need to do anything configuration in device?

Activity

  1. changed the title [-]Device cannot able to send bytes[/-] [+]From real device cannot able to send bytes[/+] on Jul 22, 2021
  2. muga87 commented on Jul 23, 2021

    @muga87
    Author

    Here ' myhost' = "172.20.10.7" am passing. same thing works fine in simulator but not in iPhone device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions