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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] use tSocketInput, tSocketOutput with another application is possible?

I want to send data by tcp/ip in C#.
I create c# Server and wait client for accepting.
And I make talend job, tSocketOutput.
I think that when tSocketOutput connect my c# Server, my Server writer data to tSocketOutput on networkstream.
But tSocketOutput was disconnected before my c# server send the data.
Is working tSocketInput with only tSocketOutput?
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This issue is my mistake.
tSocketOutput send data to server.
So I have to read data on networkstream but I try to write data.
This issue is not problem. Just my mistake.

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Hi,
Have you checked the scenario ? - https://help.talend.com/pages/viewpage.action?pageId=19427666#Raa34439.
Vaibhav
Anonymous
Not applicable
Author

Hi,
Have you checked the scenario ? - https://help.talend.com/pages/viewpage.action?pageId=19427666#Raa34439.
Vaibhav

I tested like that scenario.
According scenario it's working.
But I want know is it possible between tSocketOutput and C# Socket Server Program.
1. Run talend job with tSocketOutput
2. tSocketOutput connect to C# Socket Server Program
3. C# Socket Server Program send data to tSocketOutput
4. tSocketOutput receive data and do next process.
When I test this process, tSocketOutput connect successfully to C# Server. But tSocketOutput disconnect the connection before C# Server send data.
Anonymous
Not applicable
Author

Hi,
Can you pl put your screenshot of the job if available?
1) tSocketOutput sends data to particular port... it will not receive anything in return
2) C# socket server program can send data to tSocketInput and not tSocketOutput
3) tSocketOutput is an output component
I think there is some expectation mismatch between component working and your expectations from component to do some work.
Thanks
Vaibhav
Anonymous
Not applicable
Author

Hi,
Can you pl put your screenshot of the job if available?
1) tSocketOutput sends data to particular port... it will not receive anything in return
2) C# socket server program can send data to tSocketInput and not tSocketOutput
3) tSocketOutput is an output component
I think there is some expectation mismatch between component working and your expectations from component to do some work.
Thanks
Vaibhav

Hi,
I attached 3 screenshot.
Screenshot No 1.
Same Scenario.
Screen No 2.
C# Client -> tSocketInput Server
In this case,
C# Client connect to tSocketInput and sent data.
tSocketInput received data. (You can confirm it in screenshot.)
When C# Client disconnect tSocketInput job ended.
Screen No 3.
C# Server <- tSocketOutput Client
tSocketOutput Client connect to C# Server successfully.
"?? ??? ??? ????? ???? ?????." This message in screenshot side C# Server means that client disconnected before C# Server send the data. Client object released before send data, program occurred error.
tSocketOutput didn't received any data from C# Server.
is there anybody know about this situation??
thanks.
0683p000009MDp8.png 0683p000009MDpD.png 0683p000009MDpI.png
Anonymous
Not applicable
Author

This issue is my mistake.
tSocketOutput send data to server.
So I have to read data on networkstream but I try to write data.
This issue is not problem. Just my mistake.