Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

issue with contineously listen to udp port in talend

Hello,
I made 2 simple job socketOutput and socketInput, for listen the specific port and fetch data from that port.
and its work successfully. Now i want that port is listen by job continuously. so For that i decided to use tWaitForSocket but in the component tab of tWaitForSocket the form is
port:
Send to Client: (default is "to client : $_")
Then:
Print Client/Server Data
what should i have to write in Send to Client:
I tried it many ways but its gives me error that connection reset.
Wait for your valuable suggestion.
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi
The message print to the client, you don't have to write in this filed. There is a global variable in this component return the input string. For example:
tWaitforSocket_1--iterate--tFixedFlowInput---main--tLogrow
on tFixedFlowInput, add one column let's call input_data on schema,
key:value
input_data 0683p000009MPcz.png(String)globalMap.get("tWaitForSocket_1_INPUT_DATA"))
Best regards
Shong
_AnonymousUser
Specialist III
Specialist III

Hi,
is there a way to get the incoming connection details (IP and port) when using twaitforsocket?
Anonymous
Not applicable
Author

Hi,
Checkout the option "Print client/server data", you will get the incoming connection details(only IP not port).
See my pic
Best regards
Sabrina
0683p000009MEWM.png
_AnonymousUser
Specialist III
Specialist III

thanks sabrina
appreciate it
Anonymous
Not applicable
Author

Hi,
You are welcome, feel free post your issue on forum.
Best regards
Sabrina