https://linen.dev logo
Join DiscordCommunities
Powered by
# openfl
  • b

    best-oil-63421

    08/23/2022, 10:27 PM
    alright, i'll try sending that
  • a

    ambitious-knife-25690

    08/23/2022, 10:28 PM
    also, make sure prior to the send command you have some kind of check like
    Copy code
    hx
    if (socket_is_open) { //example code
       //send..
    } else {
      //socket closed
    }
  • b

    best-oil-63421

    08/23/2022, 10:28 PM
    ok
  • b

    best-oil-63421

    08/23/2022, 10:33 PM
    it works when i send one letter
  • h

    hallowed-ocean-84954

    08/23/2022, 10:34 PM
    and the other end receives it ?
  • a

    ambitious-knife-25690

    08/23/2022, 10:36 PM
    how are you sending the string?
  • b

    best-oil-63421

    08/23/2022, 10:55 PM
    .send
  • b

    best-oil-63421

    08/23/2022, 10:55 PM
    is there a way to increase the buffer size?
  • c

    curved-king-43987

    08/23/2022, 11:01 PM
    @hallowed-ocean-84954?
  • h

    hallowed-ocean-84954

    08/23/2022, 11:04 PM
    1 byte is a tiny buffer - I would not expect it to be anywhere near that small - I don't know what target you are on but it's likely platform/target specific. That said, what is the recipient doing - did it receive the byte and what did it do if/when it did ?
  • c

    curved-king-43987

    08/23/2022, 11:04 PM
    @best-oil-63421
  • a

    ambitious-knife-25690

    08/23/2022, 11:09 PM
    @curved-king-43987Why are you @ing peeps randomly
  • c

    curved-king-43987

    08/23/2022, 11:10 PM
    I'm @ing them since it's info for them
  • a

    ambitious-knife-25690

    08/23/2022, 11:10 PM
    they'll reply when they're free or can give attention to it. The discussion does have people's attention involved
  • a

    ambitious-knife-25690

    08/23/2022, 11:12 PM
    please give more info next time so i don't have to go looking for the API,
    .send
    isn't useful, provide package i don't use openfl nor mphx. A lot of people here haven't used at least one of these things personally
  • a

    ambitious-knife-25690

    08/23/2022, 11:12 PM
    What platform are you testing on?
  • a

    ambitious-knife-25690

    08/23/2022, 11:15 PM
    assuming it's native, it's not entirely clear why it's only allowing a single byte in it. It does add information to the actual message but very minor data
  • a

    ambitious-knife-25690

    08/23/2022, 11:16 PM
    it might be an issue with the wrapper, it's not clear, maybe an issue with your version of openfl
  • b

    best-oil-63421

    08/24/2022, 12:09 AM
    mphx, .send was the thing causing the crash that i had put in a screenshot here
  • g

    great-oyster-61535

    08/24/2022, 1:30 AM
    Can you not
  • a

    astonishing-jordan-99718

    08/24/2022, 1:30 AM
    /`guide`: There are ways to request help that will get you the help you need faster. Check out the following guide:
  • g

    great-oyster-61535

    08/24/2022, 1:31 AM
    Take a look at this guide. It'll help you out next time you need to ask any questions here! And please don't ping people. If they can respond they will ^^
  • t

    thousands-state-46635

    08/24/2022, 1:52 AM
    Yeah, there are probably people that don't mind if you do, but you should clarify it with them first ^^
  • g

    great-oyster-61535

    08/24/2022, 1:52 AM
    ^^^^
  • h

    hallowed-ocean-84954

    08/24/2022, 1:53 AM
    I am having problems setting up a vscode launch.json config for openfl/hashlink. I have tried using the lime config from a flixel project and various simplified things I've found on the web. Nothing actually launches the vscode debugger connecting to the hl vm. Anyone have an example ?
  • h

    hallowed-ocean-84954

    08/24/2022, 2:50 AM
    ah .... the paths in the debug.hxml that is built by the compile must be absolute - there are a couple that are not
  • h

    hallowed-ocean-84954

    08/24/2022, 2:51 AM
    in case anyone needs it there is some good stuff here
  • g

    green-thailand-63253

    08/24/2022, 12:03 PM
    hello
  • g

    green-thailand-63253

    08/24/2022, 12:04 PM
    im making a haxeflixel/openfl game which will contain trasparent windows
  • g

    green-thailand-63253

    08/24/2022, 12:04 PM
    how do i make windows transparent
1...91011...57Latest