Sending IP-Packets without higher protocol
Hello.
Can I somehow send IP-Packets without using a higher protocol like TCP etc ?
Can i do that with Java ?
And you don't think the firewall will block your "something without ports" as well? If you really need access across the firewall, as your friendly network admins to open a port for you or allow you to use a proxy.
Similar Messages
-
I have been with Verizon since they started in Peoria, IL and yet to this day I don't understand why when my wife goes to work at a high school, dead in the middle of town, she has no service, can't send a text without a huge delay and can't receive phone calls? I can be out of Peoria in the middle of a corn field and I get calls without a problem, yet but within the city no service at Peoria High School or very limited. This causes the phone to drop from LTE and then eats the battery.
Service isn't guaranteed inside of buildings especially buildings filled with steel, concrete and electrical wiring. High School buildings definitely have all three.
-
How to send soap attachment without SAAJ
I have to send XML or text file as an attachment in the web service, just like email attachment. Currently I am intercepting the SOAP message (sent from web service client) and then adding an attachment using SAAJ. Can we send an attachment without intercepting and SAAJ in netbeans just like how we send other data (with basic datatypes ) as parameters to the web service operation ?
TIA.Soap is a protocol that runs over TCP (sockets.) You can build the entire soap message by hand if you want to.
That said adding something is dependent on the fact that the other side will consume it. -
Make a Cisco SPA 303 ring by sending a packet through your network?
Hey Guys,
I was wondering, and I need to know for my business, is there any way at all for me to make my Cisco SPA 303 VOIP Phone to ring by sending a packet through my local network?
I would like to just be able to click a button or send a command throught the command prompt and make it ring, but I don't know if there is any way for this to happen.
Thank!Do you know perl?
I had same issue and I wrote a simple perl script that works as wake up service.
PERL is an interpreted language and so can be executed on Linux and Windows operating systems. Linux can interpret perl natively while for Windows you can download many free interpreters like Activeperl or Strawberry perl. To run the script you must use a third party server.
In my configuration the script runs on a linux server in background as a service and checks every minute the directory called "alarm", reads files and uses the file name as called number and checks the content to verify if is the time to call. At the moment the script uses SIP and handles 4 call responses: 404 user not found, 486 busy, 487 not answer and 200 answer ok. In every cases sends an email and deletes files. Only for the answer case plays a nice music.
Files have this particular format: file name is equal to calling party number and file content is the alarm time in 24 hours format with : as separator between hours and minutes.
e.g.
ext. 101 must be called at 8 am ---> write the file 101.txt with the content 08:00
ext. 101 must be called at 8:30 am ---> write the file 101.txt with the content 08:30
There is a limitation: if you activate the Authentication for SIP messages and there are more then two simultaneous calls, the script sends some INVITEs without authentication or with wrong checksum and so not all phones ring. This problem is under investigation.
Are you intresting?
Regards. -
Need to send 32 packet within 15ms through UDP
Hi all,
I need to send 32 packet within 15ms through UDP in labview 2012. Each packet carries 2560 bytes. If it can able to send all packet within 7 or 8 ms, then it should wait upto 15ms and again it should repeat the same.
Please, anyone help me.
My code is as below.
Thanks,
Attachments:
DAC_labview.zip 49 KBI wouldn't go that far, Shane.
I think that there is some confusion/misunderstand around this topic.
YES, you can use LV to send data using UDP and TCP to other systems.
NO, UDP by itself does not ensure lossless data transfer. So UDP can lose packets. That is something which LV cannot influence by any means. TCP is a lossless protocol which should be used if you require the security.
NO, neither TCP nor UDP are deterministic. So even if the packages you are sending are sent within a time x ms, there is no one garantee of any means that this happens EVERY time. Sometime packages might take a multiple of this time.
NO, transfer times are not influenced by the sending PC at a primary level. It all depends on your network; if the network sucks, using UDP packages are lost. If using TCP, packages are resent, so it also depends on sender and receiver alike.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
On how to avoid sending RR packet
Could anybody do me a favor? Right now ,I'm doing some research on the JMF platform, and the protocol requires one-way(uni-directional) channels only. So how to prevent the receiver from sending RR packets , and should I change(extend) RtpManager class ?
I'm not sure what to tell you. The only way I can see you might get confused between the messages in the list is if you don't have a contact name associated with a phone number. If that's the case, you/your girlfriend should make sure to update the Contacts database (you can do so from a message by clicking Add Contact).
Once that's done, the name of each person appears both in the message list, and above the message thread. There's not a lot of room in that top space in the thread, so if it's a long name, it will be truncated (13 characters, I think, is about the limit). So if you have one frequently-texted friend called John Appleseed and one called John Appleseeger, that would cause problems. But you can always turn the phone on its side to switch orientation and double-check the name.
You might check the app store for txt apps, but I believe all of them use an "alternate" SMS system (ie, not the one built into your phone) so may charge for txts. However, here's one that displays contact photos and then uses the built-in SMS to write a message (I haven't tried it):
http://itunes.apple.com/us/app/sms-favorites-text-messaging/id401901736?mt=8
Matt -
Possible to send POST data WITHOUT a submit button?
Is it possible to send POST data without a submit button, but
instead, using PHP redirect or PHP header?
I need to process a form's POST values before sending some
selected values to a third party web
site. So I'd like to be able to send processed POST values to
that site, without asking the user to
click on a submit button again.
how?...
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing ListYou can't send client-side data with server-side scripting, I
think. You
can do it with javascript, but then your form is dependent on
js being
enabled....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"(_seb_)" <[email protected]> wrote in message
news:eosqf2$p0n$[email protected]..
> Is it possible to send POST data without a submit
button, but instead,
> using PHP redirect or PHP header?
> I need to process a form's POST values before sending
some selected values
> to a third party web site. So I'd like to be able to
send processed POST
> values to that site, without asking the user to click on
a submit button
> again.
> how?...
>
>
> --
> seb ( [email protected])
>
http://webtrans1.com | high-end web
design
> Downloads: Slide Show, Directory Browser, Mailing List -
Hello,
I have a media file divided in chunks on disk.
I want to stream the whole media file with RTP. How can I do that? Can you directly send RTP Packets?
For example:
for every chunk i
for (every 1000 bytes b[] in i)
sendRTPPacket(b[]) //this creates a new RTP Packet with the contents of b[] and sends itIs that possible?
If that is not possible, I have another idea:
If I open a different RTP session for each chunk (so I can just specify as dataSource the actual chunk file), can I synchronize that at the receiver side? how can I then reconstruct the whole file ?
How would you do that?
Thank you!Hello,
after searchig the internet, I found this:
http://forums.sun.com/thread.jspa?threadID=5356475&tstart=1
I think creating a customized Push DataSource will work fine, what do you think? it would push data each time a new chunk is available.
I tried the example on http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html but I'm not sure how to use it: I cannot register it.
I would like to see the results on a player, so I used a player that I have:
DataSource dataSource = new DataSource();
//dataSource.connect();
//dataSource.start();
player = Manager.createPlayer(dataSource);But I get Error: DataSource not connected
If I call dataSource.connect() I get:
java.lang.ClassCastException: [B cannot be cast to [I
at com.omnividea.media.renderer.video.Java2DRenderer.bufferToImage(Java2DRenderer.java:131)
at com.omnividea.media.renderer.video.Java2DRenderer.process(Java2DRenderer.java:105)
at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:728)
at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)
Do you have a media player where this works? or can you tell me how to use the example, maybe without explicitly registering the new dataSource, to play media in a media player?
What do you think about the idea of creating a similar DataSource (push) in order to push the data chunks that we have already into it?
Thanks!
Edited by: thawxx on Mar 11, 2009 7:20 PM -
How to send a packet through a specific Inferface ?
Hello!
I have 3 interfaces in my pc : LAN / WLAN / 3G
On LAN I have a global IP.
On WLAN and 3G I'm behind NAT.
I'm coding a program (client+srv) >
I watch a video streaming on LAN then I switch to WLAN or 3G and I want it to happen seamless. So basecly seamless vertical handover is my goal.
Because I'm behind a NAT (3G,WLAN) First I have to send a packet to the server (connection initialization). When the server sends the stream to me it actually sends it to the NAT and the NAT will fwd it to me.
The NAT send the packets back to me only if>
1. the server sends from the same port which it received the request form the NAT
2. It have to send to the same NAT (ip+port) address where the request came from
3. NAT will send then the packet back to my PC to the same port where I sent my request from.
Here comes my big problem!
I have a socket bound to a IP1 and port (e.g. WLAN) if I want to send a packet to an destination IPx for which the route table has the LAN interface as default gateway (IP2), then it will send my packet trough the LAN (IP2) but the source IP will be IP1 in the packet.
Basecly I have a WLAN package on my LAN.
This is bad for me in 2 ways.
1. there won't be a NAT binding for my WLAN
2. the packet won't even make it to the server because the very first router will throw it away since it's source IP is not a LAN IP
SO,
is there a way in Java, to send a packet thorugh a specific interface???
Thx for the kind help!
r0hamkukaI used NetworkInterface.getNetworkInterfaces() to get all avaliable interfaces. After that I used this: interfaceSocket = new DatagramSocket(6000, interfaceIp); for all my interfaces with different interfaceIp of course
The I tried to send a packet to 153.66.200.155 for example (LAN address) through my WLAN interface (ip for example: 192.168.1.101) using WLAN's interfaceSocket.send()
But the packet goes out on my LAN interface (ip 153.66.200.166) while the src ip is still 192.168.1.101 in the packet. That is why I sad WLAN packet on LAN interface.
I guess the reason is still the routing table. Because routing table tells which IF to use for a destination IP. Of course for dest 153.66.x.x routing table contains 153.66.200.166 as the gateway and not 192.168.1.101. So Win uses this the LAN IF to send the packet. -
I use an Apple bluetooth keyboard with my iPad. In messages I can't find a way to "send" a message without tapping on Send on the iPad's screen. I've tried every key and key combo that I can think of. Am I missing something?
I already have multiple devices and by far I like my iPad the most over laptops and the iPad. That including checking out my friends MacBook Air.
The difference for me is the touch interface on the screen itself for things that do not require a lot of typing. For me, the iPad is more "magical" than anything else I've used.
Again, I do appreciate your answers but you don't know my situation. Not everything is as it is perceived without knowing me and what I have to go through. -
SUN OS 5.8 --Sending Null packets originating from 127.0.0.1
Hia,
I am running Sun Solaris 5.8 on E-250 Sparc machine. The problem is my machine is continuously sending unwanted packets with a Src address 127.0.0.1 to the network. If I stop ot put down lo0 inrterface, the bombardment stopped....
Any suggestions....This forum is for C++. To clarify, you appear to be talking about C code compiled with the C compiler. Is that correct? (There is a separate forum for C: [http://forums.sun.com/forum.jspa?forumID=849]
Please post code examples between "code" tags. Otherwise, the forum software interprets some punctuation as formatting directives, changing the code beyond recognition.
Please clarify whether you are talking about integer or floating-point divide-by-zero, and whether the zero divisor is a compile-time constant.
Finally, please show the compiler options being used. They can also make a difference. -
Can't send a gift even if I have credit in my account, it asks me to enter a visa o MasterCard number, how can I send a gift without giving this info.
You cannot gift with a gift balance. You must use cc to gift
-
Send xML packet to TCP/IP socket in SOA 11g
Send xML packet to TCP/IP socket in SOA 11g
Hi,
I have a requirement like
I need to pass xml data to TCP/IP socket in the form of packets in SOA11g.
How we can do this.Please advise me.step by step procedure helps more.Hi,
There is a JCA Adapter for Sockets available... Have a look at this doc...
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_sock.htm#BABEBEJH
Cheers,
Vlad -
Sending a mail without spool in abap
hi all,
how to send a mail without going to spool request?
please tell me any function modules to get the functionality?
thanks in advance.Please try out this code. Here we send the pdf that we have converted from smartform. If this is not your case please inform me. But the logic is permanent - simply pass the string which holds the pdf data.
*some data
*please check which You need there is some thing that is not *usefull
data lv_string type string.
data main_text type bcsy_text.
data binary_content type solix_tab.
data size type so_obj_len.
* event handler for data retrieval
data: l_devtype type rspoptype,
l_function_module_name type rs38l_fnam.
data: ls_output_options type ssfcompop,
ls_control_parameters type ssfctrlop.
data: ls_output_data type ssfcrescl.
* generated result: HTML with embedded CSS
data: ls_xmloutput type ssfxmlout,
lt_html_raw type tsfixml.
data: l_xstring type xstring, "needed for HTTP response
l_xlength type i,
l_html_xstring type xstring.
data: l_pdf_xstring type xstring,
lt_lines type table of tline,
ls_line type tline,
l_pdf_len type i.
data:
solix TYPE solix,
soli type soli.
DATA send_request TYPE REF TO cl_bcs.
DATA text TYPE bcsy_text.
DATA document TYPE REF TO cl_document_bcs.
DATA recipient TYPE REF TO if_recipient_bcs.
DATA sent_to_all TYPE os_boolean.
DATA pdf_content TYPE solix_tab.
DATA lp_pdf_size TYPE so_obj_len.
*here we make the smartform and convert it to pdf
ls_control_parameters-no_dialog = 'X'.
ls_control_parameters-getotf = 'X'.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = sy-langu
* i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = l_devtype
EXCEPTIONS
no_language = 1
language_not_installed = 2
no_devtype_found = 3
system_error = 4
others = 5.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid type sy-msgty number sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ls_output_options-tdprinter = l_devtype.
CALL FUNCTION l_function_module_name
EXPORTING
* archive_index =
* archive_parameters =
control_parameters = ls_control_parameters
* mail_appl_obj = APPL_OBJECT_ID
* mail_recipient = RECIPIENT_ID
* mail_sender = SENDER_ID
output_options = ls_output_options
user_settings = space
iv_werks = i_werks
iv_datum = i_date
IMPORTING
* document_output_info =
job_output_info = ls_output_data
* job_output_options =
TABLES
im_matnr = application->IT_MATERIAL
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid type sy-msgty number sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
IMPORTING
bin_filesize = l_pdf_len
bin_file = l_pdf_xstring " binary file
TABLES
otf = ls_output_data-otfdata
lines = lt_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
others = 5.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid type sy-msgty number sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*and here we mail it
send_request = cl_bcs=>create_persistent( ).
lp_pdf_size = XSTRLEN( l_pdf_xstring ).
pdf_content = cl_document_bcs=>xstring_to_solix( ip_xstring = l_pdf_xstring ).
document = cl_document_bcs=>create_document( i_type = 'PDF'
i_hex = pdf_content
i_length = lp_pdf_size
i_subject = 'Test Message' ).
send_request->set_document( document ).
recipient = cl_cam_address_bcs=>create_internet_address(
i_address_string = 'YOUR-EMAIL-HERE' ).
send_request->add_recipient( i_recipient = recipient ).
sent_to_all = send_request->send( i_with_error_screen = 'X' ).
COMMIT WORK. -
Send/receive data without a terminating character
I am trying to use the visa driver to send hex data over a serial port. I have tried to disable terminating characters but when I read from the port the trasnmission still terminates with a 0x0A character. How can I send/receive data without a terminating character???
You need to call viSetAttribute with VI_ATTR_ASRL_END_IN set to VI_ASRL_END_NONE. In LabVIEW, use a write property node with the Serial End In mode set to None (0).
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
Maybe you are looking for
-
Excise invoice tab for without material code
Dear all, I have created a PO with vat Condtion TAx code. There are 5 line items are there in this PO. There are no material codes available for this 5 line items. all the line items are account assignment related items. While doing GRN its asking th
-
Error while compile a form In R12
Hi all, I am tryng to compile a Form in R12, But it is showing below error [applmgr@apps US]$ frmcmp_batch.sh module=XXDARXTWMAI.fmb userid=apps/apps@VIS Module_Type=FORM Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production) Forms 10.1 (Form Com
-
We use some PDFs created with LiveCycle Designer ES 8.1 which do not show any content when opened with Reader 11.0.07, only a blank display area or erratic copies of the screen behind it. Documents look fine in print preview though and also print cor
-
Major issues with Lightroom 4 locking up my system
Two questions: Is it possible to re-install Lightroom 4 from free trial, without having to re-install every upgrade since Lighroom was released (that's the original version I bought.) How do I re-install Lightroom 4 and connect the new program to all
-
Problem in Creating controlfile
Hi All, am planning to system copy, databse restored succesfuly on target system, created control file on source system. copied the control file on target system in /oracle/MDQ/saptrace/usertrace and renamed it as control.sql. when am trying to gene